#include "aky_com_include.h"
void aky_buzz_init(void)
{	
	BZRM = 0X04; // Set Buzzer clock=3.9k Hz
}

void beep_times(uint8_t num)
{
    uint8_t i;
    for (i = 0; i < num; i++)
    {
        BUZZER_EN;
        key_exit_delay_ms(100);
        BUZZER_DIS;
        key_exit_delay_ms(100);
        if (KEY_POWER == 0)
        {
            break;
        }
    }
}

void long_beep(void)
{
    BUZZER_EN;
    aky_tick_delay_ms(500);
    BUZZER_DIS;
}
